<?php
namespace Common\Model;

class CityModel extends CommonModel{
    
	public function getCityName($id){
		return $this->where("id='$id'")->getField('name');
	}

	public function getCitys($province_id){
		return $this->where("pid='{$province_id}'")->select();
	}
}